home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / nikit / domain.h next >
Text File  |  1992-10-29  |  756b  |  30 lines

  1. /* Copyright 1989 NeXT, Inc. */
  2. #import <objc/Object.h>
  3. #import <netinfo/ni.h>
  4. #import <appkit/Text.h>
  5. #define NI_ALREADYCONNECTED 10001 /* Domain Object Already Connected */
  6. #define NI_NOTCONNECTED 10002 /* Domain Object Already Connected */
  7.  
  8. struct NIDomainCellData {
  9.   char *name;
  10.   BOOL isaLeaf;
  11. };
  12.  
  13. struct NIMultiDomainList{
  14.   int    numberOfDomains;
  15.   int    activeDomain;
  16.   id    activeDomainObject;
  17.   struct NIDomainCellData *topDomain;
  18. };
  19.  
  20. struct NIHierarchyOfDomains {
  21.   int numberOfLevels;
  22.   struct NIMultiDomainList *domainListAtLevel;
  23. };
  24.  
  25. int NIPutpwpasswd( char *login, char *clear_old_passwd,  char *enc_new_passwd);
  26.  
  27. extern ni_status NIFillDomainHierarchy( struct NIHierarchyOfDomains *domains, int level, const char *tomatch, int selectedLevel);
  28.  
  29.  
  30.